﻿<UserControl x:Class="UI.Web.Silverlight.Demo.Views.LogListView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <sdk:DataGrid AutoGenerateColumns="False" Name="dataGrid1" ItemsSource="{Binding LogList}" IsReadOnly="True" Margin="5">
            <sdk:DataGrid.Columns>
                <sdk:DataGridTextColumn Header="日志时间" Binding="{Binding Path=LOGTIME}" Width="200"/>
                <sdk:DataGridTextColumn Header="内容" Binding="{Binding Path=CONTENT}" Width="*" />
            </sdk:DataGrid.Columns>
        </sdk:DataGrid>
    </Grid>
</UserControl>
